tooltip->browse_mode_timeout_id = 0;
}
+ gtk_tooltip_set_custom (tooltip, NULL);
gtk_tooltip_set_last_window (tooltip, NULL);
if (tooltip->window)
/**
* gtk_tooltip_set_custom:
* @tooltip: a #GtkTooltip
- * @custom_widget: a #GtkWidget
+ * @custom_widget: a #GtkWidget, or %NULL to unset the old custom widget.
*
- * Replaces the widget packed into the tooltip with @custom_widget.
+ * Replaces the widget packed into the tooltip with
+ * @custom_widget. @custom_widget does not get destroyed when the tooltip goes
+ * away.
* By default a box with a #GtkImage and #GtkLabel is embedded in
* the tooltip, which can be configured using gtk_tooltip_set_markup()
* and gtk_tooltip_set_icon().
+
*
* Since: 2.12
*/